PangoDirection pango_dir;
if (gtk_entry_get_display_mode (entry) == DISPLAY_NORMAL)
- pango_dir = pango_find_base_dir (display_text, n_bytes);
+ pango_dir = gdk_find_base_dir (display_text, n_bytes);
else
pango_dir = PANGO_DIRECTION_NEUTRAL;
#include "gtkdebug.h"
#include "gtktextmarkprivate.h"
#include "gtktextsegment.h"
+#include "gtkpango.h"
+#include "gdk-private.h"
/*
* Types
{
PangoDirection pango_dir;
- pango_dir = pango_find_base_dir (seg->body.chars,
- seg->byte_count);
+ pango_dir = gdk_find_base_dir (seg->body.chars, seg->byte_count);
if (pango_dir != PANGO_DIRECTION_NEUTRAL)
{
#include "gtktoolbar.h"
#include "gtkmagnifierprivate.h"
#include "gtkemojichooser.h"
+#include "gtkpango.h"
#include "a11y/gtktextviewaccessibleprivate.h"
gtk_text_iter_set_line_offset (&start, 0);
gtk_text_iter_forward_line (&end);
text = gtk_text_iter_get_visible_text (&start, &end);
- direction = pango_find_base_dir (text, -1);
+ direction = gdk_find_base_dir (text, -1);
g_free (text);